#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int inc(const void *p, const void *q) {
  return *(int*)p - *(int*)q;
}

int main() {
  const int N = 10000000;
  int *A = (int*)malloc(sizeof(int) *N);
  int hash[100] =  {
    0
  };
  int i;
  for (i = 0; i < N; i++)
    A[i] = rand() % 100;
  long long start = clock();
  //	qsort(A, N, sizeof(A[0]), inc);
  for (i = 0; i < N; i++)
    hash[A[i]]++;
  long long end = clock();
  printf("%.3f seconds!\n", (end - start) / 1000.0);
  return 0;
}
